Move cpu_{sibling,core}_map into per-CPU space
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Jul 2009 10:45:31 +0000 (11:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Jul 2009 10:45:31 +0000 (11:45 +0100)
commit716ffa3e1d7abb7570fa10e04fd05bc41c3734af
treedc2bc78d311a0d9354beea66a3e4a1d63c8f8c3b
parentcfbf17ffbb03e8c8501cae1bbba5459450b3447c
Move cpu_{sibling,core}_map into per-CPU space

These cpu maps get read from all CPUs, so apart from addressing the
square(nr_cpus) growth of these objects, they also get moved into the
previously introduced read-mostly sub-section of the per-CPU section,
in order to not need to waste a full cacheline in order to align (and
properly pad) them, which would be undue overhead on systems with low
NR_CPUS.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/ia64/linux-xen/setup.c
xen/arch/ia64/linux-xen/smpboot.c
xen/arch/ia64/xen/dom0_ops.c
xen/arch/x86/oprofile/op_model_p4.c
xen/arch/x86/smpboot.c
xen/arch/x86/sysctl.c
xen/common/domctl.c
xen/common/sched_credit.c
xen/include/asm-ia64/linux-xen/asm/smp.h
xen/include/asm-x86/smp.h